package kr.hkit.powerjava.chapter07.work;

public class TestMain {
	public static void main(String[] args) {
		Eworld e = new Eworld(1, 2, 10);
		System.out.println(e);
		e.setData(1, 2, 18);
		System.out.println(e);
		e.setData(1, 4, 10);
		System.out.println(e);
		e.setData(1, 4, 18);
		System.out.println(e);
		e.setData(1, 24, 10);
		System.out.println(e);
		e.setData(1, 24, 18);
		System.out.println(e);
		
/*		Eworld e2 = new Eworld(1, 4, 10);
		Eworld e3 = new Eworld(1, 4, 18);
		Eworld e4 = new Eworld(1, 24, 10);
		Eworld e5 = new Eworld(1, 24, 18);
		
		
		System.out.println(e1);
		System.out.println(e2);
		System.out.println(e3);
		System.out.println(e4);
		System.out.println(e5);*/
	}
}
